const { ipcRenderer } = require('electron');

window.electronAPI = {
  getMsg: (callback) => ipcRenderer.on('getMsg', callback),
  windowAction: (params) => ipcRenderer.invoke('windowAction', params)
}